<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="../../vue.js/vue.js"></script>
  </head>
  <body>
    <div id="app">
      hello,{{name}}
      <!-- <a href="{{url}}" info="{{info}}">跳转官网</a> -->
      <a :href="url" :info="info">跳转官网</a>
    </div>
    <script>
      Vue.config.productionTip = false;
      new Vue({
        el: '#app',
        data: {
          name: 'Onion',
          url: 'https://blog.csdn.net/OnionQueen?spm=1000.2115.3001.5343',
          info: '小Onion',
        },
      });
    </script>
  </body>
</html>
